﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ProductRecommendation.aspx.cs" Inherits="University.Workshop.WebApp.ProductRecommendation" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

        <asp:Label ID="productId" runat="server" Visible="False"></asp:Label>
&nbsp;&nbsp;&nbsp;
        
        <asp:Label ID="Category" runat="server" Visible="False"></asp:Label>
        
        <br />

        <br />
        <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click" 
            Font-Bold="True" Font-Size="Large">Back to Selected Product</asp:LinkButton>
        <br />
        <br />
        <center>

            <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="X-Large" 
                ForeColor="#0000CC" Text="Recommendations for"></asp:Label>
            <br />
            <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="XX-Large" 
                ForeColor="#000099" Text="&quot;"></asp:Label>
        <asp:Label ID="Name" runat="server" Font-Bold="True" Font-Size="XX-Large" 
                ForeColor="#000099"></asp:Label>

            <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Size="XX-Large" 
                ForeColor="#000099" Text="&quot;"></asp:Label>

            <br />
            <br />
            <br />
            <br />
            <asp:Label ID="message" runat="server" Font-Bold="True" Font-Size="Large" 
                ForeColor="Red"></asp:Label>
            <br />

            <br />
                <asp:DataGrid ID="ProductGrid" runat="server" PageSize="10" 
                AllowPaging="True" DataKeyField="ProductId"
            AutoGenerateColumns="False" CellPadding="8" ForeColor="#003366" 
                GridLines="None" 
                OnPageIndexChanged="OnPageIndexChanged" 
                oneditcommand="ProductGrid_EditCommand" BorderColor="White" CellSpacing="2"
             >
            <Columns>
           <asp:EditCommandColumn EditText="Select" ></asp:EditCommandColumn>
                <asp:BoundColumn HeaderText="Product Id" DataField="ProductId" Visible="false"></asp:BoundColumn>
                <asp:BoundColumn HeaderText="Name" DataField="Name" HeaderStyle-Width="500">
                

<HeaderStyle Width="500px"></HeaderStyle></asp:BoundColumn>
                <asp:BoundColumn HeaderText="Category" DataField="Category" HeaderStyle-Width="100"> 
<HeaderStyle Width="100px"></HeaderStyle>
                </asp:BoundColumn>
                <asp:BoundColumn HeaderText="Price" DataField="Price" visible="true"></asp:BoundColumn>
                <asp:BoundColumn HeaderText="Currency" DataField="Currency" visible="true"></asp:BoundColumn>
               
            </Columns>
            <EditItemStyle BackColor="#003366" ForeColor="White" />
            <FooterStyle BackColor="#003366" Font-Bold="True" ForeColor="White" />
            <SelectedItemStyle BackColor="White" Font-Bold="True" ForeColor="#003366" />
            <PagerStyle BackColor="#003366" ForeColor="White" HorizontalAlign="Center" 
                Mode="NumericPages" />
            <AlternatingItemStyle BackColor="#003366" ForeColor="White" />
            <ItemStyle BackColor="#003366" ForeColor="White" />
            <HeaderStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
        </asp:DataGrid>

            <br />
            <br />

            <br />
            <asp:Label ID="LabelMessage" runat="server"></asp:Label>
            <br />
            <br />

        </center>
        <br />
        <br />
        <br />


</asp:Content>
